#ifndef _PARSER_H_
#	define _PARSER_H_


#	include "extern.h"


	class Parser
	{
		private:
			char* _row;
			int32_t _G;
			int32_t _M;
			int32_t _T;
			int64_t _N;
			float _S;
			float _P;
			float _X;
			float _Y;
			float _Z;
			float _I;
			float _J;
			float _F;
			float _R;
			float _Q;
			float _E;
			int32_t _checksum;

			float _V;
			float _DX;
			float _DY;
			float _DZ;
			float _VXMAX;
			float _VYMAX;
			float _VZMAX;
		public:
			static Parser*
			factory(const char* _type, ...);

			Parser*
			init();

//			Parser*
//			setOptions();

			Parser*
			setRow(char* _type);

			char*
			getRow(char* _default);

			Parser*
			clear();

			Parser*
			parse();

			Parser*
			execute();
	};


#endif
